#pragma once


typedef enum {
	LOG_EVENT_None  = 0,
	LOG_EVENT_POWER_ON,
	LOG_EVENT_POWER_OFF,
	LOG_EVENT_PORT_CAM_ON,
	LOG_EVENT_PORT_CAM_OFF,
	LOG_EVENT_PORT_AW_ON,
	LOG_EVENT_PORT_AW_OFF,
	LOG_EVENT_SYSTEM_AW_ON,
	LOG_EVENT_SYSTEM_AW_OFF,
	LOG_EVENT_SYSTEM_TIME
}LOG_EVENT;


class CLogger
{
public:
	CLogger();
	~CLogger();

	static void         Log(CTime& time, LOG_EVENT evnt, int tag);
	static void         Init();
	static void         Reborn();

	static uint16_t     GetLogNumber();
};

